package com.atguigu.crowd.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atguigu.crowd.entity.AdminExample;
import com.atguigu.crowd.entity.Quyuejiaophoto0;
import com.atguigu.crowd.entity.Quyuejiaophoto0Example;
import com.atguigu.crowd.mapper.Quyuejiaophoto0Mapper;
import com.atguigu.crowd.service.api.QuyuejiaoPhotoService;

@Service
public class QuyuejiaoPhotoServiceImpl implements QuyuejiaoPhotoService  {

	@Autowired
	private Quyuejiaophoto0Mapper quyuejiaophoto0Mapper;

	@Override
	public void saveQuyuejiaoPhoto(Quyuejiaophoto0 quyuejiaophoto0) {
		// TODO Auto-generated method stub
		quyuejiaophoto0Mapper.insert(quyuejiaophoto0);
	}

	@Override
	public List<Quyuejiaophoto0> getAll() {
		// TODO Auto-generated method stub
		return quyuejiaophoto0Mapper.selectByExample(new Quyuejiaophoto0Example());
	}


	
}
























